<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
                <title></title>
                <link rel="stylesheet" href="__PUBLIC__/Css/bootstrap.min.css" />
        </head>
        <body>
                <form action="" method="post">
                        <div class="container-fluid">
                                <div class="row-fluid">
                                        <div class="span12">
                                                <table class="table table-bordered table-hover">
                                                        <tr>
                                                                <td>
                                                                        属性名称
                                                                </td>
                                                                <td>
                                                                        <input type="text" name='taname' value="{$data.taname}"/>
                                                                </td>
                                                        </tr>
                                                        <tr class="success">
                                                                <td>
                                                                        属性类别
                                                                </td>
                                                                <td>
                                                                        <input type="radio" value="0 " <if value='$data.class eq 0'>checked="checked"</if> name="class" id='attr'/><label for='attr'>属性</label>
                                                                        <input type="radio" value="1" name="class" id='guige' <if value='$data.class eq 1'>checked="checked"</if>/><label for='guige'>规格</label>
                                                                </td>
                                                                 
                                                        </tr>
                                                        <tr>
                                                                <td>
                                                                        是否为可筛选属性
                                                                </td>
                                                                <td>
                                                                        <input type="radio" value="1" name="is_select" id='yes' <if value='$data.is_select eq 1'>checked="checked"</if>/><label for='yes'>是</label>
                                                                        <input type="radio" value="0" name="is_select" id='no' <if value='$data.is_select eq 0'>checked="checked"</if>/><label for='no'>否</label>
                                                                </td>
                                                        </tr>
                                                        <tr class="error">
                                                                <td>
                                                                        属性值(多个值用 竖线 | 分隔)
                                                                </td>
                                                                <td>
                                                                        <textarea name="tavalue" cols="100" rows="4">{$data.tavalue}</textarea>
                                                                </td>
                                                        </tr>
                                                        <tr class="warning">
                                                                <td colspan="2">
                                                                        <input type="hidden" name='taid' value='{$data.taid}'/>
                                                                        <input type="hidden" name='tid' value='{$data.type_tid}'/>
                                                                        <input type="submit" class="btn btn-primary" value="修改属性" />
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>
                                </div>
                        </div>
                </form>
        </body>
</html>